﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using Automobile.service.DAL;
using Automobile.service.Model;

namespace Automobile.service.BLL
{
    public class StatisticsShipmentsBLL
    {
        StatisticsShipmentsDAL dal = new StatisticsShipmentsDAL();
        /// <summary>
        /// 查询年份
        /// </summary>
        /// <param name="TimeStart"></param>
        /// <param name="TimeEnd"></param>
        /// <returns></returns>
        public List<SearchYear> SearchY(string TimeStart, string TimeEnd)
        {
            return dal.SearchY(TimeStart,TimeEnd);
        }
        /// <summary>
        /// 查询月份
        /// </summary>
        /// <param name="SYear"></param>
        /// <param name="TimeStart"></param>
        /// <param name="TimeEnd"></param>
        /// <returns></returns>
        public List<SearchMonth> SearchM(string SYear, string TimeStart, string TimeEnd)
        {
            return dal.SearchM(SYear, TimeStart, TimeEnd);
        }
    }
}
